package section10;

import java.io.FileWriter;
import java.io.IOException;

public class App10_6 {
    public static void main(String args[])throws IOException {
        FileWriter fw=new FileWriter("C:\\Users\\Administrator\\Desktop\\10_6.txt");
        char[] c={'H','e','l','l','o','\r','\n'};
        String str="长天自古多离恨，\n不念新欢与旧任。\n风花雪月介入阵，\n十二巫山尽作尘。";
        fw.write(c);
        fw.write(str);
        fw.close();
    }
}
